package com.csy.admin.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author csy
 * @since 2018-09-20
 */
@TableName("resource_show_type")
public class ResourceShowType extends Model<ResourceShowType> {

    private static final long serialVersionUID = 1L;

    /**
     * 类型id
     */
    @TableId("show_type_id")
    private Integer showTypeId;
    /**
     * 类型名称
     */
    @TableField("show_type_name")
    private String showTypeName;


    public Integer getShowTypeId() {
        return showTypeId;
    }

    public void setShowTypeId(Integer showTypeId) {
        this.showTypeId = showTypeId;
    }

    public String getShowTypeName() {
        return showTypeName;
    }

    public void setShowTypeName(String showTypeName) {
        this.showTypeName = showTypeName;
    }

    @Override
    protected Serializable pkVal() {
        return this.showTypeId;
    }

    @Override
    public String toString() {
        return "ResourceShowType{" +
        ", showTypeId=" + showTypeId +
        ", showTypeName=" + showTypeName +
        "}";
    }
}
